﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Pregnancy
{
    public interface IPregnancyProblemFoods
    {
        void InsertFoodForProblem(int foodId, int pregnancyProblemId, ref Model.NutriLeafDBEntities context);

        void Remove(int foodId, int pregnancyProblemId, ref Model.NutriLeafDBEntities context);

        void Remove(int pregnancyProblemInFoodId, ref Model.NutriLeafDBEntities context);

        List<Model.Food> GetFoodsForPregnancyProblem(int problemId, ref Model.NutriLeafDBEntities context);

        List<Model.PregnancyProblem> GetProblemsForFoods(int foodId, ref Model.NutriLeafDBEntities context);

        Model.PregnancyProblemFood GetPregnancyProblemFoodById(int id, ref Model.NutriLeafDBEntities context);
    }
}